package com.jby.autotest.model;

import java.math.BigDecimal;
import java.util.Date;

public class WholeProcess {
    private Integer id;

    private String borrowerPhone;

    private String tenderType;

    private String tenderTitle;

    private BigDecimal tenderAmount;

    private BigDecimal tentderInterestrate;

    private Integer tenderRepaymentType;

    private Integer tenderPhases;

    private String tenderCreditProductType;

    private String tenderCreditPromotion;

    private String tenderEnterpriseName;

    private Integer productType;

    private Integer periodClose;

    private Integer status;

    private Integer userId;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBorrowerPhone() {
        return borrowerPhone;
    }

    public void setBorrowerPhone(String borrowerPhone) {
        this.borrowerPhone = borrowerPhone == null ? null : borrowerPhone.trim();
    }

    public String getTenderType() {
        return tenderType;
    }

    public void setTenderType(String tenderType) {
        this.tenderType = tenderType == null ? null : tenderType.trim();
    }

    public String getTenderTitle() {
        return tenderTitle;
    }

    public void setTenderTitle(String tenderTitle) {
        this.tenderTitle = tenderTitle == null ? null : tenderTitle.trim();
    }

    public BigDecimal getTenderAmount() {
        return tenderAmount;
    }

    public void setTenderAmount(BigDecimal tenderAmount) {
        this.tenderAmount = tenderAmount;
    }

    public BigDecimal getTentderInterestrate() {
        return tentderInterestrate;
    }

    public void setTentderInterestrate(BigDecimal tentderInterestrate) {
        this.tentderInterestrate = tentderInterestrate;
    }

    public Integer getTenderRepaymentType() {
        return tenderRepaymentType;
    }

    public void setTenderRepaymentType(Integer tenderRepaymentType) {
        this.tenderRepaymentType = tenderRepaymentType;
    }

    public Integer getTenderPhases() {
        return tenderPhases;
    }

    public void setTenderPhases(Integer tenderPhases) {
        this.tenderPhases = tenderPhases;
    }

    public String getTenderCreditProductType() {
        return tenderCreditProductType;
    }

    public void setTenderCreditProductType(String tenderCreditProductType) {
        if(tenderCreditProductType == null || tenderCreditProductType.equals("")){
            this.tenderCreditProductType = null;
        }else{
            this.tenderCreditProductType = tenderCreditProductType == null ? null : tenderCreditProductType.trim();

        }
    }

    public String getTenderCreditPromotion() {
        return tenderCreditPromotion;
    }

    public void setTenderCreditPromotion(String tenderCreditPromotion) {
        if(tenderCreditPromotion == null || tenderCreditPromotion.equals("")){
            this.tenderCreditPromotion = null;
        }else{
            this.tenderCreditPromotion = tenderCreditPromotion.trim();

        }
    }

    public String getTenderEnterpriseName() {
        return tenderEnterpriseName;
    }

    public void setTenderEnterpriseName(String tenderEnterpriseName) {
        System.out.println(tenderEnterpriseName);
        if(tenderEnterpriseName == null || tenderEnterpriseName.equals("")){
            this.tenderEnterpriseName = null;
        }else {
            this.tenderEnterpriseName = tenderEnterpriseName.trim();
        }
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public Integer getPeriodClose() {
        return periodClose;
    }

    public void setPeriodClose(Integer periodClose) {
        if(periodClose > -1){
            this.periodClose = periodClose;
        }
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}